//
//  CustomTableViewCell.m
//  20-JSONModel
//
//  Created by 曹曹 on 16/8/10.
//  Copyright © 2016年 曹曹. All rights reserved.
//

#import "CustomTableViewCell.h"
#import "GXList.h"
#import "UIImageView+DownloadImage.h"

@implementation CustomTableViewCell

- (void)setList:(GXList *)list {
    _list = list;
    _label.text = list.name;
    [_image asyncDownloadImageWithURL:list.imgurl completionHandler:^(NSData *data, UIImage *image) {}];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
